package com.nodusk.model;

/**
 * 开启插件
 */
public class Plugin {

    private boolean enableLombok;//开启Lombok
    private boolean enableSwagger;//开启自动文档Swagger
    private boolean enableMybatisplus;//开启Mybatisplus
    private boolean enableCustomAnnotation;//开启自定义注解




    public Plugin(boolean enableLombok, boolean enableSwagger, boolean enableMybatisplus, boolean enableCustomAnnotation) {
        this.enableLombok = enableLombok;
        this.enableSwagger = enableSwagger;
        this.enableMybatisplus = enableMybatisplus;
        this.enableCustomAnnotation = enableCustomAnnotation;
    }

    public Plugin() {
    }

    public boolean isEnableCustomAnnotation() {
        return enableCustomAnnotation;
    }

    public void setEnableCustomAnnotation(boolean enableCustomAnnotation) {
        this.enableCustomAnnotation = enableCustomAnnotation;
    }

    public boolean isEnableLombok() {
        return enableLombok;
    }

    public void setEnableLombok(boolean enableLombok) {
        this.enableLombok = enableLombok;
    }

    public boolean isEnableSwagger() {
        return enableSwagger;
    }

    public void setEnableSwagger(boolean enableSwagger) {
        this.enableSwagger = enableSwagger;
    }

    public boolean isEnableMybatisplus() {
        return enableMybatisplus;
    }

    public void setEnableMybatisplus(boolean enableMybatisplus) {
        this.enableMybatisplus = enableMybatisplus;
    }
}
